-- GENERATED SPELL FOR [Ember of Al'ar] --


function spell0_19551(pUnit, Event) --@Ember Blast,n/a--
pUnit:FullCastSpellOnTarget(34133,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19551', 608, 1)
end

function Sorts_19551(pUnit, Event)
local choix_sorts_19551 = math.random(0, 0)
if choix_sorts_19551 == 0 then
pUnit:RegisterEvent('spell0_19551', 1, 1)
end
end

function mob19551_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19551', math.random(1500, 3000), 1)
end

function mob19551_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19551_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19551_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19551, 1, 'mob19551_Action')
RegisterUnitEvent(19551, 2, 'mob19551_Leave')
RegisterUnitEvent(19551, 3, 'mob19551_Kill')
RegisterUnitEvent(19551, 4, 'mob19551_Die')
